<%--
  - $Revision: 26561 $
  - $Date: 2006-01-31 09:52:28 -0800 (Tue, 31 Jan 2006) $
  -
  - Copyright (C) 1999-2006 Jive Software. All rights reserved.
  - This software is the proprietary information of Jive Software. Use is subject to license terms.
--%>

<%@ page import="com.guagua.util.ParamUtils" %>

<%
    // The message to display
    String message = ParamUtils.getParameter(request,"message");

    // The type: valid types are info, error and success
    String type = ParamUtils.getParameter(request, "type");
    if (type == null || (!"info".equals(type) && !"error".equals(type) && !"success".equals(type)))
    {
        type = "info";
    }
%>

<%  if (message != null) { %>

    <div class="jive-<%= type %>">
    <table cellpadding="0" cellspacing="0" border="0">
    <tbody>
        <tr><td class="jive-icon"><img src="images/<%= type %>-16x16.gif" width="16" height="16" border="0" alt="<%= type %>" /></td>
        <td class="jive-icon-label">
            <%= message %>
        </td></tr>
    </tbody>
    </table>
    </div><br />

<%  } %>